<seed-content #content>
  <seed-toolbar-header>
    <seed-toolbar-title>课时选择</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <div class="seed-gap"></div>
  <div class="seed-course-box">
    <seed-infinite-scroll class="course-list" (infiniteScroll)="getCourseList()">
      <div class="course-list-item seed-underline"
      *ngFor="let item of course.list; let isLast=last"
      [ngClass]="{'seed-clearline': isLast}"
       (click)="goToRollCall(item.classScheduleId,item.courseName)">
        <div class="course-title">{{item.courseName | truncate: 15}}</div>
        <div class="course-info">
          <div class="course-name">{{item.subjectName | truncate: 15}}</div>
          <div class="course-num">
            <span>{{'销课' + item.signNum | truncate: 6}}</span>/<span>{{'应到' + item.signAll | truncate:6}}</span>
          </div>
        </div>
        <i class="right-arrow-icon"></i>
      </div>
      <seed-infinite-scroll-content *ngIf="course.list.length>=10">
      </seed-infinite-scroll-content>
    </seed-infinite-scroll>
  </div>
</seed-content>
